From: Michaƫl Cadilhac Date: Sun, 26 Aug 2007 19:20:10 +0000 (+0000) Subject: (PC-do-completion): Make RET accept a non-unique but complete X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~16939 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c6081a27e7bfae5a66eef8767d592782c40f446c;p=emacs.git (PC-do-completion): Make RET accept a non-unique but complete expansion again. --- diff --git a/lisp/complete.el b/lisp/complete.el index 75774b65db0..01db126c5f8 100644 --- a/lisp/complete.el +++ b/lisp/complete.el @@ -831,12 +831,12 @@ GOTO-END is non-nil, however, it instead replaces up to END." (setq completion-base-size (if dirname dirlength (- beg prompt-end)))))) - (PC-temp-minibuffer-message " [Next char not unique]")))))) - ;; Expansion of filenames is not reversible, so just keep - ;; the prefix. + (PC-temp-minibuffer-message " [Next char not unique]")) + ;; Expansion of filenames is not reversible, + ;; so just keep the prefix. (when (and abbreviated filename) (delete-region (point) end)) - nil) + nil))))) ;; Only one possible completion (t